import type {Block} from '@/types/Block';

export const blocks:Block[]=[
  {
    id:"1",
    type:"text",
    props:{
      content:"这是一段文本"
    },
    actions:{
      onCopy:()=>{},
      onEdit:()=>{}
  },
  },
  {
    id:"2",
    type:"image",
    props:{
      src:"https://cdnjs.cloudflare.com/ajax/libs/twemoji/11.3.0/2/svg/1f469-200d-1f692.svg",
      alt:"这是一张图片"
    },
    actions:{
      onEdit:()=>{}
    },
  },
  {
    id:"3",
    type:"chart",
    props:{},
    actions:{
      onFilter:()=>{},
      onSwitch:()=>{}
    },
  }
]